/*
 * Copyright (c) 2017, dhl and/or its affiliates. All rights reserved.
 * dhl PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 */
package com.xd.cloud.common.bean;

import java.io.Serializable;

import javax.persistence.Entity;

/**
 * 机构、公司，返回前台使用
 * 
 * @author dhl
 * @since V1.0
 * 
 */
@Entity
public class OrgBean implements Serializable {

	private int id;
	//公司名称
	private String name;
	//上级公司id
	private int pid;
	//法人
	private String legal;
    public String getLegal() {
		return legal;
	}
	public void setLegal(String legal) {
		this.legal = legal;
	}
	//联系人
	private String linkman;
	//联系电话
	private String linkphone;
	//所属行业,0为其他领域,1为物流运输,2为车辆租赁,3为公交客运,4为出租汽车,5为混凝土车,6为特种车辆,7为工程机械
	private int industrytype;
	private String industrytypevalue;
	public String getIndustrytypevalue() {
		return industrytypevalue;
	}
	public void setIndustrytypevalue(String industrytypevalue) {
		this.industrytypevalue = industrytypevalue;
	}
	//上级公司名称
	private String pname;
	//公司简介
	private String introduction;
	//子公司个数（在编辑公司的情况下，如果有子公司了，不允许编辑）
	private int childs;
	public int getChilds() {
		return childs;
	}
	public void setChilds(int childs) {
		this.childs = childs;
	}
	public String getIntroduction() {
		return introduction;
	}
	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}
	public String getPname() {
		return pname;
	}
	public void setPname(String pname) {
		this.pname = pname;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getPid() {
		return pid;
	}
	public void setPid(int pid) {
		this.pid = pid;
	}
	public String getLinkman() {
		return linkman;
	}
	public void setLinkman(String linkman) {
		this.linkman = linkman;
	}
	public String getLinkphone() {
		return linkphone;
	}
	public void setLinkphone(String linkphone) {
		this.linkphone = linkphone;
	}
	public int getIndustrytype() {
		return industrytype;
	}
	public void setIndustrytype(int industrytype) {
		this.industrytype = industrytype;
	}
}